package com.jmxcfc.blfsc.jiwei.api.client;

import com.alibaba.fastjson.JSONObject;
import com.jmxcfc.blfsc.common.common.request.BaseRequest;
import com.jmxcfc.blfsc.common.common.response.BaseResponse;
import com.jmxcfc.blfsc.common.sms.SmsRequest;
import com.jmxcfc.blfsc.common.sms.extend.SmsExtend;
import com.jmxcfc.fs.common.model.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 暂时没用到
 */
@FeignClient(name = "blfsc-jiwei")
public interface JiweiApi {

    @PostMapping("/sms/request")
    Result<BaseResponse<JSONObject>> request(@RequestBody BaseRequest<SmsRequest<SmsExtend>> request);
}
